<template>
  <div>
    <h1>App</h1>
    <ul>
      <li>
        <RouterLink to="/home">Home</RouterLink>
      </li>
      <li>
        <RouterLink to="/shop">Shop</RouterLink>
      </li>
      <li>
        <RouterLink to="/user">User</RouterLink>
      </li>
    </ul>

    <RouterView name="r1"></RouterView>
    <RouterView name="r2"></RouterView>
    <RouterView name="r3"></RouterView>
  </div>
</template>
<script>
import { RouterLink, RouterView } from 'vue-router';

export default {
  components: { RouterView, RouterLink }
};
</script>
<style>
div {
  border: solid;
  padding: 10px;
}
</style>